package cn.edu.lingnan.mongodb;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Document(collection = "chat_session")
@Data
public class ChatSession {
    @Id
    private String sessionId;
    private Long userId;
    private String sessionTitle;
    private Date createdAt;
    private Date updatedAt;
 }